<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import = "ac.kr.ml.vo.UserVo" %>
<%@ page import="java.util.*" %>
<% 
    session = request.getSession(false);
	UserVo vo =(UserVo)session.getAttribute("authUser");
	String state=request.getParameter("state");
	String active="ui-btn-active";
%>
<div data-role="navbar">
	<ul>
	<%
		if ("main".equals(state)){
	%>
		<li ><a href="/medialog/main?a=main&key=<%=vo.getKey()%>&mobile=1" class="<%=active%>">최신글</a></li>
		
		<li><a href="/medialog/main?a=me&key=<%=vo.getKey()%>&mobile=1">내글</a></li>	
	<%
		}else{
	%>
		<li ><a href="/medialog/main?a=main&key=<%=vo.getKey()%>&mobile=1">최신글</a></li>
		
		<li><a href="/medialog/main?a=me&key=<%=vo.getKey()%>&mobile=1" class="<%=active%>">내글</a></li>
	<%
		}
	%>
	</ul>
</div>